9 Compile and Run a Program without a Java IDE > 9.3 Run on the Module with Manual Start

9.3
•
•
Transfer the .jar and .jad file from the development platform to the desired directory on the module using the Module Exchange Suite or OTA provisioning. Chapter 7 explains how to download your application to the module.
•
•
The command AT^SJRA is used to start the application and is sent to the module via your terminal program. Either the application can be started by .jar or by .jad file.
Example:
In your terminal program enter: AT^SJRA=a:/java/jam/example/helloworld/helloworld.jar
If you prefer to start with .jad file: AT^SJRA=a:/java/jam/example/helloworld/helloworld.jad
The Flash file system on the module is referenced by “a:”.
Depending on which file you specify the java application manager tries to find the correspond­ing file in the same directory. This search is not done by name, but by comparing the contained attributes. The first file which contains the same values for MIDlet-Name, MIDlet-Version and MIDlet-Vendor is used.